.class public Sample_comparisons
.super scarlett/ScarlettRuntime
; standard initializer
.method public <init>()V
   aload_0
   invokenonvirtual scarlett/ScarlettRuntime/<init>()V
   return
 .end method
.method public static main([Ljava/lang/String;)V
    .limit stack 16
    .limit locals 2
    new Sample_comparisons
    dup
    invokenonvirtual Sample_comparisons/<init>()V
    aload_0
    invokenonvirtual Sample_comparisons/ScarlettMain([Ljava/lang/String;)V
	return
.end method

.method public  run([Ljava/lang/String;)V
.var 12 is anEmail Ljava/lang/String;
.var 1 is i Ljava/lang/Integer;
.var 2 is str1 Ljava/lang/String;
.var 11 is str10 Ljava/lang/String;
.var 3 is str2 Ljava/lang/String;
.var 4 is str3 Ljava/lang/String;
.var 5 is str4 Ljava/lang/String;
.var 6 is str5 Ljava/lang/String;
.var 7 is str6 Ljava/lang/String;
.var 8 is str7 Ljava/lang/Integer;
.var 9 is str8 Ljava/lang/Integer;
.var 10 is str9 Ljava/lang/String;
    aconst_null
    astore 12
    aconst_null
    astore 1
    aconst_null
    astore 2
    aconst_null
    astore 11
    aconst_null
    astore 3
    aconst_null
    astore 4
    aconst_null
    astore 5
    aconst_null
    astore 6
    aconst_null
    astore 7
    aconst_null
    astore 8
    aconst_null
    astore 9
    aconst_null
    astore 10

	new java/lang/Integer
	dup
	ldc 0 ; integer constant
	invokenonvirtual java/lang/Integer.<init>(I)V
	astore 1
	ldc "hi" ; stringConstant
	astore 2
	ldc "this" ; stringConstant
	astore 3
	ldc "a" ; stringConstant
	astore 4
	ldc "really" ; stringConstant
	astore 5
	ldc "what" ; stringConstant
	astore 6
	ldc "string" ; stringConstant
	astore 7
	new java/lang/Integer
	dup
	ldc 539 ; integer constant
	invokenonvirtual java/lang/Integer.<init>(I)V
	astore 8
	new java/lang/Integer
	dup
	ldc 777 ; integer constant
	invokenonvirtual java/lang/Integer.<init>(I)V
	astore 9
	ldc "???" ; stringConstant
	astore 10
	ldc "$" ; stringConstant
	astore 11
	ldc "email@test.com" ; stringConstant
	astore 12
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "This displays the results of some comparisons :" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0
	aload 2 ;load variable str1
	aload 3 ;load variable str2
	invokevirtual scarlett/ScarlettRuntime/IsSmallerThan(Ljava/lang/Object;Ljava/lang/Object;)Z
	ifeq L001
	aload_0 ; This ptr for Show command
	aload 2 ;load variable str1
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "is smaller than : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 3 ;load variable str2
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	goto L000
L001:
	aload_0 ; This ptr for Show command
	aload 3 ;load variable str2
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "is smaller than :  " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 2 ;load variable str1
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
L000:
	aload_1 ; loading integer value to increment
	invokevirtual	java/lang/Integer.intValue()I
	iconst_1
	iadd
	invokestatic	java/lang/Integer.valueOf(I)Ljava/lang/Integer;
	astore_1
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0
	aload 4 ;load variable str3
	aload 5 ;load variable str4
	invokevirtual scarlett/ScarlettRuntime/IsSameAs(Ljava/lang/Object;Ljava/lang/Object;)Z
	ifeq L003
	aload_0 ; This ptr for Show command
	ldc "These strings are the same : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 4 ;load variable str3
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	goto L002
L003:
	aload_0 ; This ptr for Show command
	ldc "These strings are NOT the same : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 4 ;load variable str3
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 5 ;load variable str4
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
L002:
	aload_1 ; loading integer value to increment
	invokevirtual	java/lang/Integer.intValue()I
	iconst_1
	iadd
	invokestatic	java/lang/Integer.valueOf(I)Ljava/lang/Integer;
	astore_1
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0
	aload 6 ;load variable str5
	aload_0 ; this pointer for regex call
	ldc "number"
	invokevirtual scarlett/ScarlettRuntime/GetPattern(Ljava/lang/String;)Ljava.util.regex.Pattern;
	invokevirtual scarlett/ScarlettRuntime/IsA(Ljava/lang/Object;Ljava/util/regex/Pattern;)Z
	ifeq L005
	aload_0 ; This ptr for Show command
	ldc "This text is a number : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 6 ;load variable str5
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	goto L004
L005:
	aload_0 ; This ptr for Show command
	ldc "This text is not a number : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 6 ;load variable str5
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0
	aload 9 ;load variable str8
	aload_0 ; this pointer for regex call
	ldc "number"
	invokevirtual scarlett/ScarlettRuntime/GetPattern(Ljava/lang/String;)Ljava.util.regex.Pattern;
	invokevirtual scarlett/ScarlettRuntime/IsA(Ljava/lang/Object;Ljava/util/regex/Pattern;)Z
	ifeq L006
	aload_0 ; This ptr for Show command
	ldc "...but this is :" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 9 ;load variable str8
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
L006:
L004:
	aload_1 ; loading integer value to increment
	invokevirtual	java/lang/Integer.intValue()I
	iconst_1
	iadd
	invokestatic	java/lang/Integer.valueOf(I)Ljava/lang/Integer;
	astore_1
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0
	aload 8 ;load variable str7
	aload_0 ; this pointer for regex call
	ldc "number"
	invokevirtual scarlett/ScarlettRuntime/GetPattern(Ljava/lang/String;)Ljava.util.regex.Pattern;
	invokevirtual scarlett/ScarlettRuntime/IsA(Ljava/lang/Object;Ljava/util/regex/Pattern;)Z
	ifeq L008
	aload_0 ; This ptr for Show command
	ldc "We like numbers : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 8 ;load variable str7
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	goto L007
L008:
	aload_0 ; This ptr for Show command
	ldc "sorry, str7 is not a number." ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
L007:
	aload_1 ; loading integer value to increment
	invokevirtual	java/lang/Integer.intValue()I
	iconst_1
	iadd
	invokestatic	java/lang/Integer.valueOf(I)Ljava/lang/Integer;
	astore_1
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0
	aload 10 ;load variable str9
	aload 11 ;load variable str10
	invokevirtual scarlett/ScarlettRuntime/Contains(Ljava/lang/Object;Ljava/lang/Object;)Z
	ifeq L010
	aload_0 ; This ptr for Show command
	aload 10 ;load variable str9
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "contains : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 11 ;load variable str10
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	goto L009
L010:
	aload_0 ; This ptr for Show command
	aload 10 ;load variable str9
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "does NOT contain : " ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 11 ;load variable str10
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
L009:
	aload_1 ; loading integer value to increment
	invokevirtual	java/lang/Integer.intValue()I
	iconst_1
	iadd
	invokestatic	java/lang/Integer.valueOf(I)Ljava/lang/Integer;
	astore_1
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0
	aload 12 ;load variable anEmail
	ldc "@" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Contains(Ljava/lang/Object;Ljava/lang/Object;)Z
	ifeq L012
	aload_0 ; This ptr for Show command
	ldc "anEmail variable contains an at sign" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_1 ; loading integer value to increment
	invokevirtual	java/lang/Integer.intValue()I
	iconst_1
	iadd
	invokestatic	java/lang/Integer.valueOf(I)Ljava/lang/Integer;
	astore_1
	goto L011
L012:
	aload_0 ; This ptr for Show command
	ldc "anEmail is not a email" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
L011:
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "We made this many successful comparisons :" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	aload 1 ;load variable i
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "done" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
	aload_0 ; This ptr for Show command
	ldc "\n" ; stringConstant
	invokevirtual scarlett/ScarlettRuntime/Show(Ljava/lang/Object;)V
    return

.limit locals 17
.limit stack  16
.end method
